/**
 * Copyright 2011 Mathieu Magnaudet
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package edu.enac.geoapp.services;

/**
 * Class that keeps a reference toward the last received file of each format 
 * @author mathieu
 *
 */
public class FileStore {
	private static final FileStore INSTANCE = new FileStore();
	private String pathToWorldFile = "data/TM_WORLD_BORDERS-0.2.shp";
	private String pathToAirportsFile = "data/Airports.kml";
	private String pathToFlightPlan = "data/flight_plan.xml";
	private String pathToTempFile ="";
	private String pathToWindFile = "";
	private String pathToMtoObjectsFile= "";
	private String pathToMetar = "";
	private String pathToTaf = "";
	private String pathToTemsi = "";
	private String pathToRadar = "";
	private String pathToSatIr ="";
	private String pathToSatVis ="";
 	
	private FileStore() {
		
	}
	
	public static FileStore getInstance() {
		return INSTANCE;
	}

	/**
	 * @return the pathToWorldFile
	 */
	public String getPathToWorldFile() {
		return pathToWorldFile;
	}

	/**
	 * @param pathToWorldFile the pathToWorldFile to set
	 */
	public void setPathToWorldFile(String pathToWorldFile) {
		this.pathToWorldFile = pathToWorldFile;
	}

	/**
	 * @return the pathToAirportsFile
	 */
	public String getPathToAirportsFile() {
		return pathToAirportsFile;
	}

	/**
	 * @param pathToAirportsFile the pathToAirportsFile to set
	 */
	public void setPathToAirportsFile(String pathToAirportsFile) {
		this.pathToAirportsFile = pathToAirportsFile;
	}

	/**
	 * @return the pathToTempFile
	 */
	public String getPathToTempFile() {
		return pathToTempFile;
	}

	/**
	 * @param pathToTempFile the pathToTempFile to set
	 */
	public void setPathToTempFile(String pathToTempFile) {
		this.pathToTempFile = pathToTempFile;
	}

	/**
	 * @return the pathToWindFile
	 */
	public String getPathToWindFile() {
		return pathToWindFile;
	}

	/**
	 * @param pathToWindFile the pathToWindFile to set
	 */
	public void setPathToWindFile(String pathToWindFile) {
		this.pathToWindFile = pathToWindFile;
	}

	/**
	 * @return the pathToMetar
	 */
	public String getPathToMetar() {
		return pathToMetar;
	}

	/**
	 * @param pathToMetar the pathToMetar to set
	 */
	public void setPathToMetar(String pathToMetar) {
		this.pathToMetar = pathToMetar;
	}

	/**
	 * @return the pathToTar
	 */
	public String getPathToTaf() {
		return pathToTaf;
	}

	/**
	 * @param pathToTaf the pathToTar to set
	 */
	public void setPathToTaf(String pathToTaf) {
		this.pathToTaf = pathToTaf;
	}

	/**
	 * @return the pathToTemsi
	 */
	public String getPathToTemsi() {
		return pathToTemsi;
	}

	/**
	 * @param pathToTemsi the pathToTemsi to set
	 */
	public void setPathToTemsi(String pathToTemsi) {
		this.pathToTemsi = pathToTemsi;
	}

	/**
	 * @return the pathToRadarDir
	 */
	public String getPathToRadar() {
		return pathToRadar;
	}

	/**
	 * @param pathToRadarDir the pathToRadarDir to set
	 */
	public void setPathToRadar(String pathToRadar) {
		this.pathToRadar = pathToRadar;
	}

	/**
	 * @return the pathToSatIrDir
	 */
	public String getPathToSatIr() {
		return pathToSatIr;
	}

	/**
	 * @param pathToSatIr the pathToSatIrDir to set
	 */
	public void setPathToSatIr(String pathToSatIr) {
		this.pathToSatIr = pathToSatIr;
	}

	/**
	 * @return the pathToSatVisDir
	 */
	public String getPathToSatVis() {
		return pathToSatVis;
	}

	/**
	 * @param pathToSatVis the pathToSatVisDir to set
	 */
	public void setPathToSatVis(String pathToSatVis) {
		this.pathToSatVis = pathToSatVis;
	}

	/**
	 * @param pathToFlightPlan the pathToFlightPlan to set
	 */
	public void setPathToFlightPlan(String pathToFlightPlan) {
		this.pathToFlightPlan = pathToFlightPlan;
	}

	/**
	 * @return the pathToFlightPlan
	 */
	public String getPathToFlightPlan() {
		return pathToFlightPlan;
	}

	/**
	 * @param pathToMtoObjectsFile the pathToMtoObjectsFile to set
	 */
	public void setPathToMtoObjectsFile(String pathToMtoObjectsFile) {
		this.pathToMtoObjectsFile = pathToMtoObjectsFile;
	}

	/**
	 * @return the pathToMtoObjectsFile
	 */
	public String getPathToMtoObjectsFile() {
		return pathToMtoObjectsFile;
	}
}
